package com.ten.jinxiancun.server;

import java.util.List;
import java.util.Map;
/*
* 角色表 sevice接口
*
* */
public interface rolesServer {
    public List<Map<String, Object>> getAllRolesFind(Map<String, Object> map);//查询
    public  Integer getRolesCountFind(Map<String, Object> map);
    public Integer AddRolesFind(Map<String, Object> map);
    public Integer UpdateRolesFind(Map<String, Object> map);
    public Integer DelectRolesFind(Integer id);
    /* 树形图* */
    public List<Map<String, Object>> getRolesFind(Map<String, Object> map);
    Integer rolesCountFind(Map<String, Object> map);
    /*角色添加模块时获取已有模块*/
    public List<Map<String, Object>> getRolesMenuFind(Map<String, Object> map);
    public Integer addRolesMenuFind(Map<String, Object> map);
    public Integer deleteRolesMenuFind(Integer menuId, Integer roleId);
}
